

import { RewardData } from "../db/RewardData";
import { BaseRequest, BaseResponse } from "./base";


/**
 * 领取任务奖励
 */
export interface ReqTaskReceive extends BaseRequest {
    /**任务id */
    taskId:string
}

export interface ResTaskReceive extends BaseResponse {
    /**已领取过奖励的任务 */
    taskReceived: { [taskId: string]: boolean },
    /**奖励内容 */
    rewards:RewardData[],
}